package C11_3_PullUpConstruct.refactorafter;

/**
 * @ClassName : Manager
 * @Description :
 * @Author : wukj1
 * @Date: 2022/8/15
 **/
public class Manager extends Employee {

    private int _grade;

    protected Manager(String _name, String _id, int _grade) {
        super(_name, _id);
        this._grade = _grade;
        initialize();
    }

    @Override
    boolean isPriviliged () {
        return _grade > 4;
    }

    public static void main(String[] args) {
        Manager manager = new Manager("1", "11", 5);
    }

}
